package com.xunfang.portal.model.entity;

import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;

import java.math.BigDecimal;
import java.util.Date;

/**
 * @TableName t_item
 */
@Data
@TableName(value ="t_item")
public class Item {
    private Long id;

    private Long bookId;

    private String bookName;

    private Double price;

    private Integer buyCount;

    private Double sumPrice;

    private Long orderId;

    @TableField(fill = FieldFill.INSERT)
    private Date createTime;

    private Integer state;

}